﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PwdMgr.DataAccess.Exps
{
    public class BinaryExp : Exp
    {
        public BinaryExp(Exp left, string op, Exp right)
        {
            LeftExp = left;
            Op = op;
            RightExp = right;
        }
        public override ExpType Type
        {
            get
            {
                return ExpType.Binary;
            }
        }

        public Exp LeftExp { get; set; }

        public Exp RightExp { get; set; }

        public string Op { get; set; }
    }
}
